package com.zkthink.ceres.order.vo.comment;

import com.zkthink.ceres.order.entity.CommentKeyword;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@ApiModel("前端评论列表分页对象")
@Data
public class CommentPageVO implements Serializable {

    public CommentPageVO() {
        this.total = 0;
        this.containImgTotal = 0;
        this.commentVOList = new ArrayList<>();
        this.commentKeywordVOList = new ArrayList<>();
    }

    @ApiModelProperty("总数")
    private Integer total;

    @ApiModelProperty("有图的评价的总数")
    private Integer containImgTotal;

    @ApiModelProperty("评价列表")
    private List<CommentVO> commentVOList;

    @ApiModelProperty(value = "评价关键词列表",notes = "我的评论列表可以忽略这个返回")
    private List<CommentKeywordVO> commentKeywordVOList;
}
